Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a new sprint-sync script to synchronize Jira sprints with GitHub items and refactors the Item dataclass into a shared common.py module. Feedback focuses on improving the robustness of Jira key parsing and batching API calls for moving or adding issues to reduce overhead.
1157306 to
ab8f88b
Compare
|
@psss A very naive question: Is syncing GitHub sprints to Jira a problem other Red Hat teams face too? I'd imagine so — is there any company-wide effort to solve this, or is this intentionally a quick team-specific solution for now? |
ab8f88b to
0e0b81c
Compare
Good question, @AthreyVinay! Yeah, this is basically just a quick hack for us. I don't know of any other team. I expect that most teams do the planning activities directly in Jira. But let's check! Maybe there's more people with a similar use case and we could collaborate on this. |
Makes sense - the ask looks good :) |
LecrisUT
left a comment
There was a problem hiding this comment.
Looks good enough to me now.
|
@psss "write the documentation" checkbox is not complete yet, is it something you plan to address? |
|
/packit rebuild |
|
There appears to be a syntax error in the command provided. Please refer to the Packit documentation or use the |
|
/packit build |
Implement an easy way to sync github sprint items into the Jira sprint. Removed items are dropped, new items are added. Search for the right Jira issue is done using `remoteLinkUrl` but since it does not work always (e.g. when the index it outdated) fallback using the summary is included. Duplicate issues, when detected during the search, are reported as well. Fix #4671. Assisted-by: Claude
6796e44 to
10d8d6a
Compare
|
Script-only, no need for more tests. Merging. |

Implement an easy way to sync github sprint items into the Jira sprint. Removed items are dropped, new items are added. Search for the right Jira issue is done using
remoteLinkUrlbut since it does not work always (e.g. when the index it outdated) fallback using the summary is included. Duplicate issues, when detected during the search, are reported as well.Fix #4671.
Assisted-by: Claude
Pull Request Checklist